#include <iostream>
#include <cstring>
using namespace std;
struct person
    {        
        char name[16];
        int age;
        char sex[8];
        char addr[20];
        short pay;
        double height;
    }stu1;
int main()
{
    memcpy(stu1.name,"Cindy",5);
    stu1.age=22;
    memcpy(stu1.sex,"girl",4);
    memcpy(stu1.addr,"liaoning province",16);
    stu1.pay=10000;
    stu1.height=164;
    cout<<"name:"<<stu1.name<<endl;
    cout<<"age:"<<stu1.age<<endl;
    cout<<"sex:"<<stu1.sex<<endl;
    cout<<"addr:"<<stu1.addr<<endl;
    cout<<"pay:"<<stu1.pay<<endl;
    cout<<"height:"<<stu1.height<<endl;
    return 0;
}